package dawnland03.model.task.mock;

import dawnland03.model.entity.Entity;
import dawnland03.model.entity.EntitySnapshot;
import dawnland03.model.entity.attribute.Position;
import dawnland03.model.entity.attribute.PhysicalAttribute;
import dawnland03.model.item.ItemType;
import dawnland03.model.team.Team;

/**
 * User: Petru Obreja (obrejap@yahoo.com)
 * Date: Feb 14, 2010
 * Time: 9:59:34 PM
 */
public class EntityMock implements Entity {
    private final Integer id;
    private final Position position;

    public EntityMock(Integer id, Position position){
        this.id=id;
        this.position  = position;
    }

    public Integer getId() {
        return id;
    }

    public Position getPosition() {
        return position;
    }

    public Integer peekItemType(ItemType itemType) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public Integer putItemType(ItemType itemType, Integer quantity) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public Double peekPhysicalAttribute(PhysicalAttribute physicalAttribute) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public Double increasePhysicalAttribute(PhysicalAttribute physicalAttribute, Double gain) {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public Team getTeam() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public EntitySnapshot getEntitySnapshot() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public Entity clone() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public String toString() {
        StringBuilder stringBuilder = new StringBuilder();
        stringBuilder.append("E(").append(id).append("-").append(position.getMatrixCell().getId()).append(")");
        return stringBuilder.toString();
    }
}
